package com.zlt.healthpass.bean;

/**
 * @program: HealthPass
 * @description: 用于返回
 * @author: Mr.abel(ShiJiaYi)
 * @create: 2022-07-13 15:31
 **/
public class Info {
    //状态码
    private int code;
    //信息
    private String msg;
    //数据
    private Object data;

    //类的构造函数
    public Info(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
